/**
 * 系统管理 路由模块
 * 1. 告警列表
 * 2. 我的工单
 * 3. 巡检任务
 * **/

import Layout from '@/layout'

const devOpsRouter = {
  path: '/devops',
  component: Layout,
  redirect: 'noRedirect',
  name: '管线运维管理',
  code: 'YWGL',
  meta: {
    title: '管线运维管理',
    icon: 'articleManage'
  },
  alwaysShow: true,
  hidden: false,
  children: [
    {
      path: 'AlarmManage',
      component: () => import('@/views/devops/AlarmManage/index'),
      name: '告警列表',
      code: 'GJLB',
      hidden: false,
      meta: { title: '告警列表', noCache: true }
    },
    {
      path: 'WorkOrderManage',
      component: () => import('@/views/devops/WorkOrderManage/index'),
      name: '我的工单',
      code: 'WDGD',
      hidden: false,
      meta: { title: '我的工单', noCache: true }
    }
    // {
    //   path: 'InspectionTask',
    //   component: () => import('@/views/DevOps/InspectionManage/index'),
    //   name: '巡检任务',
    //   code: 'YHGL',
    //   hidden: false,
    //   meta: { title: '巡检任务', noCache: true }
    // }
  ]
}

export default devOpsRouter